package ui.administrator;

import java.awt.EventQueue;

import javax.swing.JInternalFrame;
import java.awt.Color;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
import javax.swing.border.TitledBorder;
import javax.swing.JTable;
import javax.swing.JButton;
import javax.swing.table.DefaultTableModel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JTextPane;
import javax.swing.JSeparator;
import javax.swing.ImageIcon;

public class Venit extends JPanel
{
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField txtRonh;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Venit frame = new Venit();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Venit() {
		setBorder(null);
		setBackground(new Color(240, 255, 255));
		setBounds(100, 100, 923, 515);
		setLayout(null);
		
		JButton btnCautaAsistent = new JButton("Schimba Venit");
		btnCautaAsistent.setFont(new Font("Arial", Font.PLAIN, 14));
		btnCautaAsistent.setBounds(309, 260, 215, 38);
		add(btnCautaAsistent);
		
		textField = new JTextField();
		textField.setEditable(false);
		textField.setBounds(597, 147, 86, 20);
		add(textField);
		textField.setColumns(10);
		
		JLabel lblCnp = new JLabel("Servicii gratuite pentru persoanele cu venit de cel mult:");
		lblCnp.setFont(new Font("Arial", Font.BOLD, 14));
		lblCnp.setBounds(167, 149, 398, 14);
		add(lblCnp);
		
		JLabel lblTaxaPentruPersoanele = new JLabel("pentru persoanele cu venit intre:");
		lblTaxaPentruPersoanele.setFont(new Font("Arial", Font.BOLD, 14));
		lblTaxaPentruPersoanele.setBounds(309, 194, 241, 14);
		add(lblTaxaPentruPersoanele);
		
		textField_1 = new JTextField();
		textField_1.setEditable(false);
		textField_1.setBounds(597, 192, 86, 20);
		add(textField_1);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setEditable(false);
		textField_2.setBounds(710, 192, 86, 20);
		add(textField_2);
		textField_2.setColumns(10);
		
		JLabel lblTaxa = new JLabel("Taxa");
		lblTaxa.setFont(new Font("Arial", Font.BOLD, 14));
		lblTaxa.setBounds(167, 194, 46, 14);
		add(lblTaxa);
		
		txtRonh = new JTextField();
		txtRonh.setEditable(false);
		txtRonh.setText("6 RON/h");
		txtRonh.setBounds(221, 192, 72, 20);
		add(txtRonh);
		txtRonh.setColumns(10);
		
		JSeparator separator = new JSeparator();
		separator.setBackground(new Color(128, 0, 128));
		separator.setBounds(78, 116, 746, 20);
		add(separator);
		
		JLabel lblNewLabel = new JLabel("Stabilire taxe pentru serviciile acordate:");
		lblNewLabel.setForeground(new Color(47, 79, 79));
		lblNewLabel.setFont(new Font("Arial", Font.BOLD, 16));
		lblNewLabel.setBounds(80, 98, 307, 14);
		add(lblNewLabel);

	}
}
